/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bllInterface;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author Mrkupi
 */
public interface BLLRelation extends Remote
{
    ArrayList<Account> getFriendList( String userName ) throws RemoteException;
    
    ArrayList<String> getRequestedFriend( String userName ) throws RemoteException;
    boolean deleteRequestFriend( String userName, String requester ) throws RemoteException;
    boolean sendRequestFriend( String userName, String toFriend ) throws RemoteException;
    
    boolean insertNewRelationShip( String userName, String friend ) throws RemoteException;
}
